package com.wf.dao;


import com.wf.dao.interfaces.BaseDao;
import com.wf.dao.interfaces.IUserDao;
import com.wf.model.User;
import org.springframework.beans.factory.annotation.Autowired;

import java.util.List;

/**
 * Created by wu on 14/12/23.
 */
public class UserDaoImp implements IUserDao{

    @Autowired
    private BaseDao<User> baseDao;

    @Override
    public List<User> getList(User user) {
        return baseDao.find("from User");
    }

}

